import request from "@/utils/request";

// 查询基础列表
export function listBizCustomerTest(query) {
  return request({
    url: "/biz/bizCustomerTest/list",
    method: "get",
    params: query,
  });
}

// 查询基础详细
export function getBizCustomerTest(id) {
  return request({
    url: "/biz/bizCustomerTest/" + id,
    method: "get",
  });
}

// 新增基础
export function addBizCustomerTest(data) {
  return request({
    url: "/biz/bizCustomerTest",
    method: "post",
    data: data,
  });
}

// 修改基础
export function updateBizCustomerTest(data) {
  return request({
    url: "/biz/bizCustomerTest",
    method: "put",
    data: data,
  });
}

// 删除基础
export function delBizCustomerTest(id) {
  return request({
    url: "/biz/bizCustomerTest/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizCustomerTest/findMaxSort",
    method: "get",
  });
}
// 导出基础
export function exportBizCustomerTest(query) {
  return request({
    url: "/biz/bizCustomerTest/export",
    method: "get",
    params: query,
  });
}
// 查询基础列表
export function joinListBizCustomerTest(query) {
  return request({
    url: "/biz/bizCustomerTest/joinList",
    method: "get",
    params: query,
  });
}
